package com.tanhua.model.LinHun;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "soul")
public class Soul implements Serializable {

   private ObjectId id;           //主键id
   private String sid;             //问卷编号
   private String name;           //问卷名称
   private String cover;          //封面
   private String level;          //级别
   private Integer star ;      //星别（例如：2颗星，3颗星，5颗星）
//  private Integer questions;    //试题
   private Integer isLock = 0;    //是否锁住（0解锁，1锁住）
   private String reportId;       //最新报告id  用户id


}
